package com.company.cloud.pay.modules.mgr.controller.req;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.pay.modules.cache.model.PayApiConfig;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
public class PayChannelConfigUpdateParam extends BaseParam {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "ID不能为空")
    private Integer id;


    @ApiModelProperty(value = "支付通道参数", required = true)
    @NotNull(message = "支付通道参数不能为空")
    private PayApiConfig payChannelParam;

    private boolean isCompany;


}
